package org.jeecg.modules.demo.dary.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.dary.entity.DaRyxx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 人员档案信息表
 * @Author: jeecg-boot
 * @Date:   2023-11-17
 * @Version: V1.0
 */
@Mapper
public interface DaRyxxMapper extends BaseMapper<DaRyxx> {
    int daml(@Param("user") String user,@Param("orgcode") String orgcode,@Param("mbmc") String mlmc,@Param("ryid") String ryid);
    public List<Map<String, Object>> getrylist(@Param("orgcode") String orgcode,@Param("ryxm") String ryxm,@Param("id") String id,@Param("zt") String zt,
                                               @Param("sfzh") String sfzh,String xb,String csrqks,String csrqjs,
                                               String mz,String rwsjks,String rwsjjs,String twsjks,String twsjjs,String zzmm,String lxdh,String  xlqk,String  jkzt,
                                               String  cjxz,String  bddh,String twzh,String  azfs,String jl,String  rwgxmc);


    public List<Map<String, Object>> getrymllist(@Param("ryid") String ryid);
    int rydamladd(@Param("user") String user,@Param("orgcode") String orgcode,@Param("mlmc") String mlmc,@Param("ryid") String ryid,@Param("pid") String pid);
    int rydamledit(@Param("user") String user,@Param("orgcode") String orgcode,@Param("mlmc") String mlmc,@Param("id") String id);
    int rydamldel(@Param("user") String user,@Param("orgcode") String orgcode,@Param("id") String id);
    public List<Map<String, Object>> getryml(@Param("ryid") String ryid,@Param("pid") String pid);
    public List<DaRyxx> getlist(Page<DaRyxx> page, @Param("xm") String xm,String zt,String  sfzh,String  xb,String  csrqks,String  csrqjs,String  mz,String  rwsjks,String  rwsjjs,
                                String  twsjks,String  twsjjs,String  zzmm,String  lxdh,String  xlqk,String  jkzt,String  cjxz,String  bddh,
                                String  twzh,String  azfs,String  jl,String  rwgxmc);
    public List<Map<String, Object>> getckryml(@Param("ryid") String ryid);
    public List<Map<String, Object>> getckrymlgl(@Param("ryid") String ryid,@Param("mlid") String mlid);
    int jyupxx(@Param("id") String id,@Param("zt") String zt);
}
